package com.luochen.cdpt.eneity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Auther: star
 * @Date: 2019/1/22 16:36
 * @Description:地区
 */
@Data
@Entity
@Table(name="tb_area")
public class Area {

    @Id
    @Column(name = "area_code")
    private  String areaCode;

    @Column(name = "area_name")
    private String areaName;

    @Column(name = "area_parent_code")
    private String areaParentCode;
}
